#include "Head.h"


extern int i,j,k;
extern int NUM, Add_NUM;
extern int M, Add_M;
extern int Inset_N, Step_Max, Step;

extern double MOVE_Y, MOVE_X;
extern double DH, DH_t;
extern double START, END;

extern fftw_complex *R_rho, *R_omega;
extern int **C_INDEX;

extern fftw_complex *C_rho, *C_rho_x, *C_rho_y, *C_rho_o, *C_rho_n;
extern fftw_complex *C_omega, *C_omega_x, *C_omega_y, *C_omega_o, *C_omega_n;
extern fftw_complex *C_u,*C_v;
extern fftw_complex *C_psi,*C_psi_x,*C_psi_y;

extern fftw_complex *R_Add_u,*R_Add_v;
extern fftw_complex *R_Add_rho_x, *R_Add_rho_y;
extern fftw_complex *R_Add_omega_x, *R_Add_omega_y;
extern fftw_complex *R_Add_phi, *R_Add_psi;

extern fftw_complex *in, *out;
extern fftw_complex *In, *Out;

extern fftw_plan fftw_fp, fftw_bp, fftw_fip, fftw_bop;

extern FILE *Plot_File;
extern char File_Name[100];

extern MPI_Datatype matrix_type;
extern MPI_Datatype column_type;
extern MPI_Datatype transposed_matrix_type;
extern MPI_Status status;
extern int myrank, sum_rank;
extern MPI_Errhandler errhdl;
extern double Time,duration,starttime,endtime;

